<template>
 <div class="app-container">
    <myheader></myheader>
    <router-view></router-view>
    <myfooter></myfooter>
 </div>
</template>
<script>
// 引入页头页脚子组件
import MyHeader from "./components/MyHeader.vue"
import MyFooter from "./components/MyFooter.vue"
export default {
    // 注册子组件
  components:{
    "myheader":MyHeader,
    "myfooter":MyFooter
  }
}
</script>

<style>

</style>
